import { UserType } from "./models";

export function userTypeReadable(t:UserType){
    if(t===UserType.Admin)
        return '管理'
    if(t===UserType.Staff)
        return '员工'
    return '游客'
}